<?php

 /**
  * @package JooS
  * @subpackage PHPackager
  */

  require_once "JooS/Helper/Abstract.php";

  class JooS_PHPackager_Helper_Notify extends JooS_Helper_Abstract {
    public function __invoke($name) {
      $args = func_get_args();
      array_shift($args);

      require_once "JooS/Event.php";
      return call_user_func_array(array(
        JooS_Event::newInstance($name), "notify"
      ), $args);
    }
  }
